.class public Lcom/waiqin365/base/db/offlinedata/m;
.super Ljava/lang/Object;


# static fields
.field private static c:Lcom/waiqin365/base/db/offlinedata/m;


# instance fields
.field private a:Lcom/waiqin365/base/db/offlinedata/DepttabDao;

.field private b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

.field private d:Landroid/content/Context;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;
    .locals 2

    sget-object v0, Lcom/waiqin365/base/db/offlinedata/m;->c:Lcom/waiqin365/base/db/offlinedata/m;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/base/db/offlinedata/m;

    invoke-direct {v0}, Lcom/waiqin365/base/db/offlinedata/m;-><init>()V

    sput-object v0, Lcom/waiqin365/base/db/offlinedata/m;->c:Lcom/waiqin365/base/db/offlinedata/m;

    :cond_0
    sget-object v0, Lcom/waiqin365/base/db/offlinedata/m;->c:Lcom/waiqin365/base/db/offlinedata/m;

    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/base/db/offlinedata/m;->d:Landroid/content/Context;

    sget-object v0, Lcom/waiqin365/base/db/offlinedata/m;->c:Lcom/waiqin365/base/db/offlinedata/m;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/p;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/p;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/p;->b()Lcom/waiqin365/base/db/offlinedata/DepttabDao;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/base/db/offlinedata/m;->a:Lcom/waiqin365/base/db/offlinedata/DepttabDao;

    sget-object v0, Lcom/waiqin365/base/db/offlinedata/m;->c:Lcom/waiqin365/base/db/offlinedata/m;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/p;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/p;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/p;->c()Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    sget-object v0, Lcom/waiqin365/base/db/offlinedata/m;->c:Lcom/waiqin365/base/db/offlinedata/m;

    return-object v0
.end method

.method private a(Lcom/waiqin365/base/db/offlinedata/n;)Lcom/waiqin365/lightapp/kehu/share/a/c;
    .locals 6

    if-eqz p1, :cond_3

    new-instance v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/kehu/share/a/c;-><init>()V

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->a()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->b()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->c()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->c:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->d()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->d:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->e()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->e:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->f()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->f:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->g()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->h()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->h:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->i()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->i:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->j()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->j:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->k()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->k:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->l()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->l:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->m()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->m:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->n()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->n:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->o()D

    move-result-wide v2

    iput-wide v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->t:D

    invoke-virtual {p1}, Lcom/waiqin365/base/db/offlinedata/n;->p()Z

    move-result v0

    iput-boolean v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->s:Z

    iget-object v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->c:Ljava/lang/String;

    const-string/jumbo v0, ""

    if-eqz v2, :cond_0

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_0

    const/4 v0, 0x0

    const/4 v3, 0x1

    invoke-virtual {v2, v0, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    :cond_0
    iget-wide v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->t:D

    const-wide/16 v4, 0x0

    cmpl-double v2, v2, v4

    if-ltz v2, :cond_1

    iget-wide v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->t:D

    const-wide v4, 0x40f869f000000000L    # 99999.0

    cmpg-double v2, v2, v4

    if-gez v2, :cond_1

    const-string/jumbo v0, "$"

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->o:Ljava/lang/String;

    :goto_0
    move-object v0, v1

    :goto_1
    return-object v0

    :cond_1
    const-string/jumbo v2, "[A-Z]"

    invoke-virtual {v0, v2}, Ljava/lang/String;->matches(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->o:Ljava/lang/String;

    goto :goto_0

    :cond_2
    const-string/jumbo v0, "#"

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->o:Ljava/lang/String;

    goto :goto_0

    :cond_3
    const/4 v0, 0x0

    goto :goto_1
.end method


# virtual methods
.method public a(Ljava/lang/String;)Ljava/lang/String;
    .locals 5

    const/4 v4, 0x0

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    sget-object v2, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->g:Lde/greenrobot/dao/Property;

    invoke-virtual {v2, p1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v2

    new-array v3, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v2, v3}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v1}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    invoke-interface {v1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->g()Ljava/lang/String;

    move-result-object v0

    :cond_0
    return-object v0
.end method

.method public declared-synchronized a()Ljava/util/ArrayList;
    .locals 6

    const/4 v0, 0x0

    monitor-enter p0

    :try_start_0
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    const/4 v3, 0x1

    new-array v3, v3, [Lde/greenrobot/dao/Property;

    const/4 v4, 0x0

    sget-object v5, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->c:Lde/greenrobot/dao/Property;

    aput-object v5, v3, v4

    invoke-virtual {v1, v3}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    invoke-virtual {v1}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v3

    if-eqz v3, :cond_1

    move v1, v0

    :goto_0
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/base/db/offlinedata/n;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    monitor-exit p0

    return-object v2

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized a(Lcom/waiqin365/base/db/offlinedata/q;Z)Ljava/util/ArrayList;
    .locals 7

    const/4 v0, 0x0

    monitor-enter p0

    :try_start_0
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    if-ne p1, v3, :cond_0

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->m:Lde/greenrobot/dao/Property;

    const-string/jumbo v4, "1"

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    :cond_0
    if-nez p2, :cond_1

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->p:Lde/greenrobot/dao/Property;

    const/4 v4, 0x1

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v4

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    :cond_1
    const/4 v3, 0x1

    new-array v3, v3, [Lde/greenrobot/dao/Property;

    const/4 v4, 0x0

    sget-object v5, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->o:Lde/greenrobot/dao/Property;

    aput-object v5, v3, v4

    invoke-virtual {v1, v3}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v3

    const/4 v4, 0x1

    new-array v4, v4, [Lde/greenrobot/dao/Property;

    const/4 v5, 0x0

    sget-object v6, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->c:Lde/greenrobot/dao/Property;

    aput-object v6, v4, v5

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v1}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v3

    if-eqz v3, :cond_3

    move v1, v0

    :goto_0
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/base/db/offlinedata/n;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_3
    monitor-exit p0

    return-object v2

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized a(Lcom/waiqin365/base/db/offlinedata/q;ZLjava/lang/String;)Ljava/util/ArrayList;
    .locals 7

    const/4 v0, 0x0

    monitor-enter p0

    :try_start_0
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    if-ne p1, v3, :cond_0

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->m:Lde/greenrobot/dao/Property;

    const-string/jumbo v4, "1"

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    :cond_0
    if-nez p2, :cond_1

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->p:Lde/greenrobot/dao/Property;

    const/4 v4, 0x1

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v4

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    :cond_1
    invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_2

    const-string/jumbo v3, "\'"

    const-string/jumbo v4, ""

    invoke-virtual {p3, v3, v4}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object p3

    :cond_2
    sget-object v3, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->b:Lde/greenrobot/dao/Property;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v5, "%"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, "%"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/Property;->like(Ljava/lang/String;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    sget-object v4, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->c:Lde/greenrobot/dao/Property;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v6, "%"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string/jumbo v6, "%"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Lde/greenrobot/dao/Property;->like(Ljava/lang/String;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v4

    const/4 v5, 0x0

    new-array v5, v5, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v3, v4, v5}, Lde/greenrobot/dao/query/QueryBuilder;->whereOr(Lde/greenrobot/dao/query/WhereCondition;Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    const/4 v3, 0x1

    new-array v3, v3, [Lde/greenrobot/dao/Property;

    const/4 v4, 0x0

    sget-object v5, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->o:Lde/greenrobot/dao/Property;

    aput-object v5, v3, v4

    invoke-virtual {v1, v3}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v3

    const/4 v4, 0x1

    new-array v4, v4, [Lde/greenrobot/dao/Property;

    const/4 v5, 0x0

    sget-object v6, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->c:Lde/greenrobot/dao/Property;

    aput-object v6, v4, v5

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v1}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v3

    if-eqz v3, :cond_4

    move v1, v0

    :goto_0
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_4

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/base/db/offlinedata/n;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_3
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_4
    monitor-exit p0

    return-object v2

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized a(Lcom/waiqin365/lightapp/kehu/share/a/a;Lcom/waiqin365/base/db/offlinedata/q;)Ljava/util/ArrayList;
    .locals 7

    const/4 v0, 0x0

    monitor-enter p0

    :try_start_0
    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/base/db/offlinedata/m;->a:Lcom/waiqin365/base/db/offlinedata/DepttabDao;

    invoke-virtual {v3}, Lcom/waiqin365/base/db/offlinedata/DepttabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v3

    sget-object v4, Lcom/waiqin365/base/db/offlinedata/DepttabDao$Properties;->d:Lde/greenrobot/dao/Property;

    invoke-virtual {v4, v1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v1

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v3, v1, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    sget-object v1, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    if-ne p2, v1, :cond_0

    sget-object v1, Lcom/waiqin365/base/db/offlinedata/DepttabDao$Properties;->f:Lde/greenrobot/dao/Property;

    const-string/jumbo v4, "1"

    invoke-virtual {v1, v4}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v1

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v3, v1, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    :cond_0
    const/4 v1, 0x1

    new-array v1, v1, [Lde/greenrobot/dao/Property;

    const/4 v4, 0x0

    sget-object v5, Lcom/waiqin365/base/db/offlinedata/DepttabDao$Properties;->e:Lde/greenrobot/dao/Property;

    aput-object v5, v1, v4

    invoke-virtual {v3, v1}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    const/4 v4, 0x1

    new-array v4, v4, [Lde/greenrobot/dao/Property;

    const/4 v5, 0x0

    sget-object v6, Lcom/waiqin365/base/db/offlinedata/DepttabDao$Properties;->c:Lde/greenrobot/dao/Property;

    aput-object v6, v4, v5

    invoke-virtual {v1, v4}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v3}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v3

    if-eqz v3, :cond_2

    move v1, v0

    :goto_0
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_2

    new-instance v4, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-direct {v4}, Lcom/waiqin365/lightapp/kehu/share/a/a;-><init>()V

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/l;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/l;->a()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/l;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/l;->c()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->g:Ljava/lang/String;

    if-eqz v4, :cond_1

    invoke-virtual {v2, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_2
    monitor-exit p0

    return-object v2

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized a(Lcom/waiqin365/lightapp/kehu/share/a/a;Lcom/waiqin365/base/db/offlinedata/q;Z)Ljava/util/ArrayList;
    .locals 10

    const/4 v0, 0x0

    monitor-enter p0

    :try_start_0
    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v3}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v3

    sget-object v4, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->g:Lde/greenrobot/dao/Property;

    invoke-virtual {v4, v1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v1

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v3, v1, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    sget-object v1, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    if-ne p2, v1, :cond_0

    sget-object v1, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->m:Lde/greenrobot/dao/Property;

    const-string/jumbo v4, "1"

    invoke-virtual {v1, v4}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v1

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v3, v1, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    :cond_0
    if-nez p3, :cond_1

    sget-object v1, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->p:Lde/greenrobot/dao/Property;

    const/4 v4, 0x1

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v4

    invoke-virtual {v1, v4}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v1

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v3, v1, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    :cond_1
    const/4 v1, 0x1

    new-array v1, v1, [Lde/greenrobot/dao/Property;

    const/4 v4, 0x0

    sget-object v5, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->o:Lde/greenrobot/dao/Property;

    aput-object v5, v1, v4

    invoke-virtual {v3, v1}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    const/4 v4, 0x1

    new-array v4, v4, [Lde/greenrobot/dao/Property;

    const/4 v5, 0x0

    sget-object v6, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->c:Lde/greenrobot/dao/Property;

    aput-object v6, v4, v5

    invoke-virtual {v1, v4}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v3}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v3

    if-eqz v3, :cond_6

    move v1, v0

    :goto_0
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_6

    new-instance v4, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-direct {v4}, Lcom/waiqin365/lightapp/kehu/share/a/a;-><init>()V

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->a()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->b()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->g:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->c()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->h:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->d()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->i:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->e()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->j:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->f()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->k:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->g()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->l:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->h()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->m:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->i()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->n:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->j()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->o:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->k()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->p:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->l()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->q:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->m()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->r:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->n()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->s:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->o()D

    move-result-wide v6

    iput-wide v6, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->w:D

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->p()Z

    move-result v0

    iput-boolean v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->x:Z

    const/4 v0, 0x1

    iput-boolean v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->v:Z

    iget-object v5, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->h:Ljava/lang/String;

    const-string/jumbo v0, ""

    if-eqz v5, :cond_2

    invoke-virtual {v5}, Ljava/lang/String;->length()I

    move-result v6

    if-lez v6, :cond_2

    const/4 v0, 0x0

    const/4 v6, 0x1

    invoke-virtual {v5, v0, v6}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    :cond_2
    iget-wide v6, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->w:D

    const-wide/16 v8, 0x0

    cmpl-double v5, v6, v8

    if-ltz v5, :cond_4

    iget-wide v6, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->w:D

    const-wide v8, 0x40f869f000000000L    # 99999.0

    cmpg-double v5, v6, v8

    if-gez v5, :cond_4

    const-string/jumbo v0, "$"

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->t:Ljava/lang/String;

    :goto_1
    if-eqz v4, :cond_3

    invoke-virtual {v2, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_3
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_0

    :cond_4
    const-string/jumbo v5, "[A-Z]"

    invoke-virtual {v0, v5}, Ljava/lang/String;->matches(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_5

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->t:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_1

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_5
    :try_start_1
    const-string/jumbo v0, "#"

    iput-object v0, v4, Lcom/waiqin365/lightapp/kehu/share/a/a;->t:Ljava/lang/String;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_1

    :cond_6
    monitor-exit p0

    return-object v2
.end method

.method public declared-synchronized a(Ljava/lang/String;Lcom/waiqin365/base/db/offlinedata/q;Z)Ljava/util/ArrayList;
    .locals 7

    const/4 v0, 0x0

    monitor-enter p0

    :try_start_0
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v2

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_3

    const-string/jumbo v3, ","

    invoke-virtual {p1, v3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v3

    sget-object v4, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->a:Lde/greenrobot/dao/Property;

    invoke-virtual {v4, v3}, Lde/greenrobot/dao/Property;->in([Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v2, v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    if-ne p2, v3, :cond_0

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->m:Lde/greenrobot/dao/Property;

    const-string/jumbo v4, "1"

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v2, v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    :cond_0
    if-nez p3, :cond_1

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->p:Lde/greenrobot/dao/Property;

    const/4 v4, 0x1

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v4

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v2, v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    :cond_1
    const/4 v3, 0x1

    new-array v3, v3, [Lde/greenrobot/dao/Property;

    const/4 v4, 0x0

    sget-object v5, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->o:Lde/greenrobot/dao/Property;

    aput-object v5, v3, v4

    invoke-virtual {v2, v3}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v3

    const/4 v4, 0x1

    new-array v4, v4, [Lde/greenrobot/dao/Property;

    const/4 v5, 0x0

    sget-object v6, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->c:Lde/greenrobot/dao/Property;

    aput-object v6, v4, v5

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v2}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v3

    if-eqz v3, :cond_4

    move v2, v0

    :goto_0
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-ge v2, v0, :cond_4

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/base/db/offlinedata/n;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_2
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_3
    move-object v0, v1

    :goto_1
    monitor-exit p0

    return-object v0

    :cond_4
    move-object v0, v1

    goto :goto_1

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/ArrayList;
    .locals 8

    const/4 v0, 0x0

    monitor-enter p0

    :try_start_0
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v2

    const-string/jumbo v3, ","

    invoke-virtual {p2, v3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, ","

    invoke-virtual {p1, v4}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v4

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_0

    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result v5

    if-eqz v5, :cond_0

    move-object v0, v1

    :goto_0
    monitor-exit p0

    return-object v0

    :cond_0
    :try_start_1
    const-string/jumbo v5, ""

    invoke-virtual {v5, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_2

    sget-object v4, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->i:Lde/greenrobot/dao/Property;

    invoke-virtual {v4, v3}, Lde/greenrobot/dao/Property;->in([Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v2, v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    :goto_1
    const/4 v3, 0x1

    new-array v3, v3, [Lde/greenrobot/dao/Property;

    const/4 v4, 0x0

    sget-object v5, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->o:Lde/greenrobot/dao/Property;

    aput-object v5, v3, v4

    invoke-virtual {v2, v3}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v3

    const/4 v4, 0x1

    new-array v4, v4, [Lde/greenrobot/dao/Property;

    const/4 v5, 0x0

    sget-object v6, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->c:Lde/greenrobot/dao/Property;

    aput-object v6, v4, v5

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->orderAsc([Lde/greenrobot/dao/Property;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v2}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v3

    if-eqz v3, :cond_4

    move v2, v0

    :goto_2
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-ge v2, v0, :cond_4

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/base/db/offlinedata/n;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_1
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_2

    :cond_2
    const-string/jumbo v5, ""

    invoke-virtual {v5, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_3

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->j:Lde/greenrobot/dao/Property;

    invoke-virtual {v3, v4}, Lde/greenrobot/dao/Property;->in([Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v2, v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_1

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_3
    :try_start_2
    sget-object v5, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->j:Lde/greenrobot/dao/Property;

    invoke-virtual {v5, v4}, Lde/greenrobot/dao/Property;->in([Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v4

    const/4 v5, 0x1

    new-array v5, v5, [Lde/greenrobot/dao/query/WhereCondition;

    const/4 v6, 0x0

    sget-object v7, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->i:Lde/greenrobot/dao/Property;

    invoke-virtual {v7, v3}, Lde/greenrobot/dao/Property;->in([Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    aput-object v3, v5, v6

    invoke-virtual {v2, v4, v5}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    goto :goto_1

    :cond_4
    move-object v0, v1

    goto :goto_0
.end method

.method public declared-synchronized a(Lcom/waiqin365/lightapp/kehu/share/a/c;)V
    .locals 21

    monitor-enter p0

    if-eqz p1, :cond_0

    :try_start_0
    new-instance v3, Lcom/waiqin365/base/db/offlinedata/n;

    move-object/from16 v0, p1

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v5, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v6, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->c:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v7, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->d:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v8, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->e:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v9, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->f:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v10, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v11, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->h:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v12, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->i:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v13, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->j:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v14, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->k:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v15, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->l:Ljava/lang/String;

    move-object/from16 v0, p1

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->m:Ljava/lang/String;

    move-object/from16 v16, v0

    move-object/from16 v0, p1

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->n:Ljava/lang/String;

    move-object/from16 v17, v0

    move-object/from16 v0, p1

    iget-wide v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->t:D

    move-wide/from16 v18, v0

    move-object/from16 v0, p1

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->s:Z

    move/from16 v20, v0

    invoke-direct/range {v3 .. v20}, Lcom/waiqin365/base/db/offlinedata/n;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;DZ)V

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->update(Ljava/lang/Object;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_0
    :goto_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v2

    monitor-exit p0

    throw v2

    :catch_0
    move-exception v2

    goto :goto_0
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 4

    new-instance v0, Lcom/waiqin365/base/db/offlinedata/l;

    invoke-direct {v0}, Lcom/waiqin365/base/db/offlinedata/l;-><init>()V

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/db/offlinedata/l;->a(Ljava/lang/String;)V

    invoke-virtual {v0, p2}, Lcom/waiqin365/base/db/offlinedata/l;->b(Ljava/lang/String;)V

    invoke-virtual {v0, p3}, Lcom/waiqin365/base/db/offlinedata/l;->c(Ljava/lang/String;)V

    invoke-virtual {v0, p4}, Lcom/waiqin365/base/db/offlinedata/l;->d(Ljava/lang/String;)V

    invoke-virtual {v0, p5}, Lcom/waiqin365/base/db/offlinedata/l;->e(Ljava/lang/String;)V

    invoke-virtual {v0, p6}, Lcom/waiqin365/base/db/offlinedata/l;->f(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->a:Lcom/waiqin365/base/db/offlinedata/DepttabDao;

    const/4 v2, 0x1

    new-array v2, v2, [Lcom/waiqin365/base/db/offlinedata/l;

    const/4 v3, 0x0

    aput-object v0, v2, v3

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/offlinedata/DepttabDao;->insertOrReplaceInTx([Ljava/lang/Object;)V

    return-void
.end method

.method public b(Ljava/lang/String;)Ljava/lang/String;
    .locals 5

    const/4 v4, 0x0

    const-string/jumbo v0, ""

    if-eqz p1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->a:Lcom/waiqin365/base/db/offlinedata/DepttabDao;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/DepttabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    sget-object v2, Lcom/waiqin365/base/db/offlinedata/DepttabDao$Properties;->a:Lde/greenrobot/dao/Property;

    invoke-virtual {v2, p1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v2

    new-array v3, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v2, v3}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v1}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    invoke-interface {v1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/l;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/l;->c()Ljava/lang/String;

    move-result-object v0

    :cond_0
    return-object v0
.end method

.method public declared-synchronized b()Ljava/util/ArrayList;
    .locals 6

    const/4 v0, 0x0

    monitor-enter p0

    :try_start_0
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const-string/jumbo v2, "select distinct emp_position from emptab where emp_position!=\'\' order by emp_position"

    iget-object v3, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v3}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->getDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v2, v4}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v2

    if-eqz v2, :cond_2

    :goto_0
    invoke-interface {v2}, Landroid/database/Cursor;->getCount()I

    move-result v3

    if-ge v0, v3, :cond_1

    invoke-interface {v2, v0}, Landroid/database/Cursor;->moveToPosition(I)Z

    new-instance v3, Lcom/waiqin365/lightapp/kehu/share/a/e;

    invoke-direct {v3}, Lcom/waiqin365/lightapp/kehu/share/a/e;-><init>()V

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v5, "p"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/share/a/e;->a:Ljava/lang/String;

    const/4 v4, 0x0

    invoke-interface {v2, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/share/a/e;->b:Ljava/lang/String;

    if-eqz v3, :cond_0

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    invoke-interface {v2}, Landroid/database/Cursor;->close()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_2
    monitor-exit p0

    return-object v1

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 4

    new-instance v0, Lcom/waiqin365/base/db/offlinedata/l;

    invoke-direct {v0}, Lcom/waiqin365/base/db/offlinedata/l;-><init>()V

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/db/offlinedata/l;->a(Ljava/lang/String;)V

    invoke-virtual {v0, p2}, Lcom/waiqin365/base/db/offlinedata/l;->b(Ljava/lang/String;)V

    invoke-virtual {v0, p3}, Lcom/waiqin365/base/db/offlinedata/l;->c(Ljava/lang/String;)V

    invoke-virtual {v0, p4}, Lcom/waiqin365/base/db/offlinedata/l;->d(Ljava/lang/String;)V

    invoke-virtual {v0, p5}, Lcom/waiqin365/base/db/offlinedata/l;->e(Ljava/lang/String;)V

    invoke-virtual {v0, p6}, Lcom/waiqin365/base/db/offlinedata/l;->f(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->a:Lcom/waiqin365/base/db/offlinedata/DepttabDao;

    const/4 v2, 0x1

    new-array v2, v2, [Lcom/waiqin365/base/db/offlinedata/l;

    const/4 v3, 0x0

    aput-object v0, v2, v3

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/offlinedata/DepttabDao;->insertOrReplaceInTx([Ljava/lang/Object;)V

    return-void
.end method

.method public c(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/b;
    .locals 5

    const/4 v4, 0x0

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->a:Lcom/waiqin365/base/db/offlinedata/DepttabDao;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/DepttabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    sget-object v2, Lcom/waiqin365/base/db/offlinedata/DepttabDao$Properties;->a:Lde/greenrobot/dao/Property;

    invoke-virtual {v2, p1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v2

    new-array v3, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v2, v3}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v1}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v2

    if-eqz v2, :cond_0

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_0

    new-instance v1, Lcom/waiqin365/lightapp/kehu/share/a/b;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/kehu/share/a/b;-><init>()V

    iput-object p1, v1, Lcom/waiqin365/lightapp/kehu/share/a/b;->b:Ljava/lang/String;

    invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/l;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/l;->c()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/b;->c:Ljava/lang/String;

    invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/l;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/l;->d()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/b;->a:Ljava/lang/String;

    move-object v0, v1

    :cond_0
    return-object v0
.end method

.method public declared-synchronized c()Ljava/util/ArrayList;
    .locals 6

    const/4 v0, 0x0

    monitor-enter p0

    :try_start_0
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const-string/jumbo v2, "select distinct job from emptab where job!=\'\' order by job"

    iget-object v3, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v3}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->getDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v2, v4}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v2

    if-eqz v2, :cond_2

    :goto_0
    invoke-interface {v2}, Landroid/database/Cursor;->getCount()I

    move-result v3

    if-ge v0, v3, :cond_1

    invoke-interface {v2, v0}, Landroid/database/Cursor;->moveToPosition(I)Z

    new-instance v3, Lcom/waiqin365/lightapp/kehu/share/a/e;

    invoke-direct {v3}, Lcom/waiqin365/lightapp/kehu/share/a/e;-><init>()V

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v5, "j"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/share/a/e;->a:Ljava/lang/String;

    const/4 v4, 0x0

    invoke-interface {v2, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    iput-object v4, v3, Lcom/waiqin365/lightapp/kehu/share/a/e;->b:Ljava/lang/String;

    if-eqz v3, :cond_0

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    invoke-interface {v2}, Landroid/database/Cursor;->close()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_2
    monitor-exit p0

    return-object v1

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public d(Ljava/lang/String;)Ljava/lang/String;
    .locals 5

    invoke-virtual {p0, p1}, Lcom/waiqin365/base/db/offlinedata/m;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    if-nez v0, :cond_1

    const-string/jumbo v0, ""

    :cond_0
    :goto_0
    return-object v0

    :cond_1
    const-string/jumbo v1, ""

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/db/offlinedata/m;->c(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/b;

    move-result-object v0

    move-object v4, v0

    move-object v0, v1

    move-object v1, v4

    :goto_1
    if-eqz v1, :cond_2

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, v1, Lcom/waiqin365/lightapp/kehu/share/a/b;->c:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "-"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iget-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/b;->a:Ljava/lang/String;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/db/offlinedata/m;->c(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/b;

    move-result-object v0

    move-object v1, v0

    move-object v0, v2

    goto :goto_1

    :cond_2
    const-string/jumbo v1, "-"

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v1, 0x0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public declared-synchronized e(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    monitor-enter p0

    :try_start_0
    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    sget-object v2, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->a:Lde/greenrobot/dao/Property;

    invoke-virtual {v2, p1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v2

    const/4 v3, 0x0

    new-array v3, v3, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v2, v3}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v1}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    const/4 v0, 0x0

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->l()Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result-object v0

    :cond_0
    monitor-exit p0

    return-object v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized f(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    monitor-enter p0

    :try_start_0
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    :cond_0
    :goto_0
    monitor-exit p0

    return-object v0

    :cond_1
    :try_start_1
    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    sget-object v2, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->a:Lde/greenrobot/dao/Property;

    invoke-virtual {v2, p1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v2

    const/4 v3, 0x0

    new-array v3, v3, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v2, v3}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v1}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    const/4 v0, 0x0

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->b()Ljava/lang/String;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move-result-object v0

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized g(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    monitor-enter p0

    :try_start_0
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    :cond_0
    :goto_0
    monitor-exit p0

    return-object v0

    :cond_1
    :try_start_1
    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    sget-object v2, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->a:Lde/greenrobot/dao/Property;

    invoke-virtual {v2, p1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v2

    const/4 v3, 0x0

    new-array v3, v3, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v2, v3}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v1}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    const/4 v0, 0x0

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->c()Ljava/lang/String;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move-result-object v0

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized h(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    monitor-enter p0

    :try_start_0
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    :cond_0
    :goto_0
    monitor-exit p0

    return-object v0

    :cond_1
    :try_start_1
    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v1

    sget-object v2, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->a:Lde/greenrobot/dao/Property;

    invoke-virtual {v2, p1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v2

    const/4 v3, 0x0

    new-array v3, v3, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v1, v2, v3}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v1}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    const/4 v0, 0x0

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->n()Ljava/lang/String;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move-result-object v0

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;
    .locals 6

    monitor-enter p0

    :try_start_0
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    monitor-exit p0

    return-object v0

    :cond_0
    :try_start_1
    new-instance v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/kehu/share/a/c;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v0

    sget-object v2, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->a:Lde/greenrobot/dao/Property;

    invoke-virtual {v2, p1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v2

    const/4 v3, 0x0

    new-array v3, v3, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v0, v2, v3}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v0}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v2

    if-eqz v2, :cond_2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->a()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->b()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->c()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->c:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->d()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->d:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->e()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->e:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->f()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->f:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->g()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->h()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->h:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->i()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->i:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->j()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->j:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->k()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->k:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->l()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->l:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->m()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->m:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->n()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->n:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->o()D

    move-result-wide v4

    iput-wide v4, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->t:D

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->p()Z

    move-result v0

    iput-boolean v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->s:Z

    iget-object v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->c:Ljava/lang/String;

    const-string/jumbo v0, ""

    if-eqz v2, :cond_1

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_1

    const/4 v0, 0x0

    const/4 v3, 0x1

    invoke-virtual {v2, v0, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    :cond_1
    iget-wide v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->t:D

    const-wide/16 v4, 0x0

    cmpl-double v2, v2, v4

    if-ltz v2, :cond_3

    iget-wide v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->t:D

    const-wide v4, 0x40f869f000000000L    # 99999.0

    cmpg-double v2, v2, v4

    if-gez v2, :cond_3

    const-string/jumbo v0, "$"

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->o:Ljava/lang/String;

    :cond_2
    :goto_1
    move-object v0, v1

    goto/16 :goto_0

    :cond_3
    const-string/jumbo v2, "[A-Z]"

    invoke-virtual {v0, v2}, Ljava/lang/String;->matches(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_4

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->o:Ljava/lang/String;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_1

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_4
    :try_start_2
    const-string/jumbo v0, "#"

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->o:Ljava/lang/String;
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    goto :goto_1
.end method

.method public j(Ljava/lang/String;)Ljava/lang/String;
    .locals 5

    const-string/jumbo v1, ""

    const-string/jumbo v0, ""

    :try_start_0
    iget-object v2, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v2

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->a:Lde/greenrobot/dao/Property;

    invoke-virtual {v3, p1}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v2, v3, v4}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v2}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v2

    if-eqz v2, :cond_0

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v3

    if-lez v3, :cond_0

    const/4 v0, 0x0

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->h()Ljava/lang/String;

    move-result-object v0

    :cond_0
    iget-object v2, p0, Lcom/waiqin365/base/db/offlinedata/m;->b:Lcom/waiqin365/base/db/offlinedata/EmptabDao;

    invoke-virtual {v2}, Lcom/waiqin365/base/db/offlinedata/EmptabDao;->queryBuilder()Lde/greenrobot/dao/query/QueryBuilder;

    move-result-object v2

    sget-object v3, Lcom/waiqin365/base/db/offlinedata/EmptabDao$Properties;->a:Lde/greenrobot/dao/Property;

    invoke-virtual {v3, v0}, Lde/greenrobot/dao/Property;->eq(Ljava/lang/Object;)Lde/greenrobot/dao/query/WhereCondition;

    move-result-object v0

    const/4 v3, 0x0

    new-array v3, v3, [Lde/greenrobot/dao/query/WhereCondition;

    invoke-virtual {v2, v0, v3}, Lde/greenrobot/dao/query/QueryBuilder;->where(Lde/greenrobot/dao/query/WhereCondition;[Lde/greenrobot/dao/query/WhereCondition;)Lde/greenrobot/dao/query/QueryBuilder;

    invoke-virtual {v2}, Lde/greenrobot/dao/query/QueryBuilder;->list()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_1

    const/4 v2, 0x0

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/offlinedata/n;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/n;->b()Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    return-object v0

    :catch_0
    move-exception v0

    move-object v0, v1

    goto :goto_0

    :cond_1
    move-object v0, v1

    goto :goto_0
.end method
